package com.justech.eat.controller.req;

import com.justech.eat.util.validator.Radio;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @program: eat-service
 * @description: 默认报餐设置参数模型
 * @author: feifei.li
 * @create: 2020-05-26 10:06
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class OrderDefaultSetReq {

    private String jobNumber;

    /** 午餐 **/
    @Radio(values = {"0", "1"}, message = "必须是0或者1")
    private int lunch;

    /** 晚餐 */
    @Radio(values = {"0", "1"}, message = "必须是0或者1")
    private int dinner;

    /** 夜餐 */
    @Radio(values = {"0", "1"}, message = "必须是0或者1")
    private int meal;

    /** 夜宵 */
    @Radio(values = {"0", "1"}, message = "必须是0或者1")
    private int night;
}
